Skip to content

feat(js): Switch to non experimental option for logs #14460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 25, 2025

Conversation

AbhiPrasad
Copy link
Member

Builds on top of #14449, catches a bunch of stuff that I missed.

@AbhiPrasad AbhiPrasad requested a review from a team July 25, 2025 09:40
@AbhiPrasad AbhiPrasad self-assigned this Jul 25, 2025
@AbhiPrasad AbhiPrasad requested review from stephanie-anderson and andreiborza and removed request for a team July 25, 2025 09:40
Copy link

vercel bot commented Jul 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2025 9:57am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
develop-docs ⬜️ Ignored (Inspect) Jul 25, 2025 9:57am

Copy link

codecov bot commented Jul 25, 2025

Bundle Report

Changes will increase total bundle size by 180 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-client-array-push 9.85MB -6 bytes (-0.0%) ⬇️
sentry-docs-server-cjs 12.25MB 186 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.75MB -0.0%
../instrumentation.js -3 bytes 1.08MB -0.0%
9523.js -3 bytes 1.05MB -0.0%
../app/[[...path]]/page.js.nft.json 65 bytes 727.88kB 0.01%
../app/platform-redirect/page.js.nft.json 65 bytes 727.79kB 0.01%
../app/sitemap.xml/route.js.nft.json 65 bytes 725.27kB 0.01%
view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 879.71kB -0.0%
static/chunks/1831-*.js -3 bytes 422.23kB -0.0%
static/g34ACKQLFdmzUy7bVMBDw/_buildManifest.js (New) 684 bytes 684 bytes 100.0% 🚀
static/g34ACKQLFdmzUy7bVMBDw/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/8mYSYFGokQtsAaXASaZEU/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/8mYSYFGokQtsAaXASaZEU/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

{/* ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/javascript/javascript.tsx).
If you make any changes, please update the getting started doc accordingly. */}

{/_ ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/javascript/javascript.tsx).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

q: Is this change intentional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was done by prettier autoformatting. From what I can see it doesn't change behaviour.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what prettier has been smoking but this definitely broke all these sections:

Error occurred during MDX compilation: [
[2]   {
[2]     detail: [5:3: Could not parse expression with acorn] {
[2]       ancestors: undefined,
[2]       column: 3,
[2]       fatal: true,
[2]       line: 5,
[2]       place: { line: 5, column: 3, offset: 409 },
[2]       reason: 'Could not parse expression with acorn',
[2]       ruleId: 'acorn',
[2]       source: 'micromark-extension-mdx-expression',
[2]       url: 'https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression#could-not-parse-expression-with-acorn',
[2]       file: '',
[2]       [cause]: SyntaxError: Invalid regular expression: /_ ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https:/: Unterminated group
[2]           at new Promise (<anonymous>) {
[2]         pos: 409,
[2]         loc: { line: 5, column: 2 },
[2]         raisedAt: 105
[2]       }
[2]     },
[2]     id: '',
[2]     location: {
[2]       column: 2,
[2]       file: '_mdx_bundler_entry_point-9a70eec9-d7c4-49a0-96f0-c8681317e780.mdx',
[2]       length: 1,
[2]       line: 5,
[2]       lineText: "{/_ ATTENTION: The rules defined here must match those in the app's onboarding docu",
[2]       namespace: 'file',
[2]       suggestion: ''
[2]     },
[2]     notes: [],
[2]     pluginName: '@mdx-js/esbuild',
[2]     text: 'Could not parse expression with acorn'
[2]   }
[2] ]

Don't know why or how this keeps building on prod. Will be sending a PR to fix this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +5 to +6
{/_ ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/javascript/nextjs.tsx).
If you make any changes, please update the getting started doc accordingly. _/}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this one.

Comment on lines +5 to +6
{/_ ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/node/node.tsx).
If you make any changes, please update the getting started doc accordingly. _/}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this one.

Comment on lines +5 to +6
{/_ ATTENTION: The rules defined here must match those in the app's onboarding documentation (see: https://github.com/getsentry/sentry/blob/master/static/app/gettingStartedDocs/javascript/react.tsx).
If you make any changes, please update the getting started doc accordingly. _/}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this one.

@AbhiPrasad AbhiPrasad merged commit 1a7aea4 into master Jul 25, 2025
13 checks passed
@AbhiPrasad AbhiPrasad deleted the abhi-enable-logs-ai-rules branch July 25, 2025 11:38
lucas-zimerman pushed a commit that referenced this pull request Jul 29, 2025
Builds on top of #14449,
catches a bunch of stuff that I missed.
@github-actions github-actions bot locked and limited conversation to collaborators Aug 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants